<template>
    <div>
        <div class="header">
            <van-icon name="arrow-left" @click="$router.go(-1)" />
            <div>{{ title }}</div>
        </div>
    </div>
</template>

<script>
export default {
    props: ['title'],
    setup() {


        return {}
    }
}
</script>

<style lang="scss" scoped>
.header {
    padding: 5px;
    display: flex;
    font-size: 20px;

    // justify-content: space-between;
    div {
        margin-left: 130px;
    }

}
</style>